package com.example.dts.constant;

import java.util.List;

/**
 * @author xiongpingan
 * @date 2022/3/24
 */
public class StaticConstant {


    /**
     * @description 时间格式
     */
    public static final String MAIL_FORMAT = "yyyy年MM月dd日";
    public static final String DOA_DATE_FORMAT = "yyyy.MM.dd HH:mm:ss";
    public static final String DOA_DATE_FORMAT_TWO = "yyyy.MM.dd HH:mm";
    public static final String DATE_FORMAT = "yyyy.MM.dd";
    public static final String DATE_FORMAT_RE = "yyyy/MM/dd";
    public static final String DATE_FORMAT_BAR = "yyyy-MM-dd";
    public static final String DATE_FORMAT_MONTH = "yyyy.MM";
    public static final String DATE_FORMAT_MONTH_DAY = "MM.dd";
    public static final String DATE_FORMAT_DAY = "yyyyMMdd";

    public static final String DOA_DATE_TUTOR = "yyyy.MM.dd.HH:mm";
    public static final long ONE_DAY_MILLISECONDS = 1000 * 24 * 60 * 60;

    public static final String NULL = "null";


    /**
     * @description 东八区
     */
    public static final String GMT8 = "GMT+08:00";

    /**
     * @description 单窗口登录
     */
    public static final String loginUUID = "loginUUID";
    public static final String TOKENKEY = "tokenINFO";
    public static final String PERMISSIONS = "PERMISSIONS";
    public static final String IN_MAIL_NO_READ = "站内信消息未读:";

    /**
     * @description 附件
     */
    public static final String EXCEL_FILE_TYPE = ".xlsx";

    /**
     * 假期类型
     */
    public static final String ANNUAL_ADJUSTABLE_WELFARE = "带薪假";
    public static final String ANNUAL = "年假";
    public static final String WELFARE = "福利假";
    public static final String ADJUSTABLE = "调休假";
    public static final String MARRY = "婚假";
    public static final String MATERNITY_LEAVE = "产假";
    public static final String PATERNITY_LEAVE = "陪产假";
    public static final String CHILDCARE = "育儿假";
    public static final String FUNERAL = "丧假";
    public static final String SICK_EX = "长病假";
    public static final String SICK = "病假";
    public static final String AFFAIR = "事假";
    public static final String ONLINE_WORK = "线上办公";

    public static final String OVERTIME = "加班";
    public static final String PROJECT_OVERTIME = "项目加班";


    /**
     * 角色
     */
    public static final String FINANCE = "财务";

    public static final String PM = "PM";

    //地区
    public static final String NC = "南昌";
    public static final String SH = "上海";

    /**
     * 员工excel列表导出字段
     */
    public static final String NULL_PACT_DATE = "无固定期限";
    public static final String NONE = "无";
    public static final String YES = "是";
    public static final String NO = "否";
    public static final String YUAN = "元";

    public static class DateInfoExcel {
        public static final String DATE = "日期";
        public static final String WEEKEND = "是否为周末";
        public static final String WORKDAY = "是否为工作日";
        public static final String HOLIDAY_LEGAL = "是否为法定节假日";
        public static final String HOLIDAY_RECESS = "是否为假期节假日";
        public static final List<String> EXCEL_HEAD = List.of(WEEKEND,WORKDAY,HOLIDAY_RECESS,HOLIDAY_LEGAL);
    }

    public static class AssetsExcel{
        public static final String ID = "设备编号";
        public static final String BELONG_REGION = "所属地";
        public static final String COMPANY_NAME = "购买公司主体";
        public static final String PURCHASE_TIME = "购买时间";
        public static final String CURRENT_EMP = "现使用人";
        public static final String ASSETS_POSITION = "推荐职位";
        public static final String EQUIP_MENT_TYPE = "设备类型";
        public static final String BRAND_MODEL_NUMBER = "品牌&型号";
        public static final String USE_ORDER = "交接顺序";
        public static final String ASSETS_STATUS = "设备状态";
        public static final List<String> EXCEL_HEAD = List.of(BELONG_REGION, PURCHASE_TIME, CURRENT_EMP, ASSETS_POSITION, EQUIP_MENT_TYPE, USE_ORDER, BRAND_MODEL_NUMBER, ASSETS_STATUS);
    }

    public static final List<String> NEED_STATUS = List.of("已完成", "待检查", "待审批" , "审批中" ,"已拒绝");
    public static final List<String> OVER_STATUS = List.of("已完成", "待检查", "待审批" , "审批中" );

    public static class ReimExcel{
        public static final String applyDate = "申请日期";
        public static final String reimDate = "报销日期";
        public static final String reimMoney = "报销金额";
        public static final String ticketNumber = "发票张数";
        public static final String requestEmp = "申请人";
        public static final String email = "Email";
        public static final String status = "Status";
        public static final String reimReason = "报销明目";
        public static final String desc = "补充说明";
        public static final List<String> EXCEL_HEAD = List.of(applyDate, reimDate, reimMoney, ticketNumber, requestEmp, email, status, reimReason, desc);
    }

    /**
     * 区域筛选类型
     */

    public static final String ASSETS_NOT_EMPLOYEE_USED = "暂时无人使用";

    public static final String ASSETS_PUBLIC_USE = "公用";

    public static final Integer REIMBURSEMENT_LENGTH = 5;

    /**
     * 标准的一年的天数
     */
    public static final Integer STANDARD_DAY = 365;
    public static final Integer STANDARD_USE_PERIOD = 3;
    public static final Integer STANDARD_MONTH_DAY = 31;

    /**
     * 工作日
     */
    public static final Integer WEEKDAY = 5;

    /**
     * 模板docx
     */
//    public static final String REIMBURSEMENT_DOC = "document/DBC报销.docx";

    /**
     * 单据类型
     */
    public static final String ADVANCE = "预支";

    /**
     * 初始化角色的id
     */
    // 我的日报
    public static final String DAILY_ROLE_ID = "7abb509c-23f2-d1ca-ab69-a35b89d9b52e";
    //我的周报
    public static final String WEEK_ROLE_ID = "debd6414-20b6-f644-7469-8386282abac7";
    //我的导师反馈
    public static final String FEEK_BACK_ROLE_ID = "a775bad4-1c22-f99a-581d-c6479150f38b";

    //日报列表角色
    public static final String DAY_CC_DEFAULT_ROLE_ID = "b1c48348-3aba-a374-9b1c-ba3a52adffcb";

    //周报列表角色
    public static final String WEEK_CC_DEFAULT_ROLE_ID = "efd436e4-58db-2652-eb43-7d1cd444bc7d";

    //导师反馈列表角色
    public static final String FEEK_BACK_CC_DEFAULT_ROLE_ID = "0345cb5f-de5b-447d-c1de-d051c096678c";

    //写报告角色
    /**
     * 导师评价角色
     */
    //导师评价角色
    public static final String MENTOR_EVALUATION_ROLE_ID = "07341fd1-fe04-7dd0-1597-70368425c74b";

    //导师评价列表角色
    public static final String MENTOR_EVALUATION_CC_ROLE_ID = "a18c9162-7d94-e584-2df4-812b86d603d5";



    public static final List<String> REPORT_ROLE_IDS = List.of(DAILY_ROLE_ID, WEEK_ROLE_ID, FEEK_BACK_ROLE_ID);

    public static final String DAILY_ROLE_NAME = "日报角色";

    public static final String WEEK_ROLE_NAME = "周报角色";

    public static final String FEEK_BACK_ROLE_NAME = "导师反馈角色";

    public static final String MENTOR_EVALUATION_ROLE_NAME = "导师评价角色";
}
